﻿/// <summary>
/// Logic Base Component.
/// </summary>
public class BaseComponent
{
    public void Enter()
    {
        OnEnter();
    }

    public void Update(float deltaTime)
    {
        OnUpdate(deltaTime);
    }

    public void LateUpdate(float deltaTime)
    {
        OnLateUpdate(deltaTime);
    }

    public void Release()
    {
        OnRelease();
    }

    protected virtual void OnEnter() { }
    protected virtual void OnUpdate(float deltaTime) { }
    protected virtual void OnLateUpdate(float deltaTime) { }
    protected virtual void OnRelease() { }
}
